package com.deercrowing.takeaway.vo;

import com.deercrowing.takeaway.entity.DishFlavorEntity;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishesVO implements Serializable{

    private Integer id;

    private String name;

    private Short categoryId;

    private BigDecimal price;

    private String image;

    private Short status;

    private String description;

    private LocalDateTime updateTime;

    private Integer sales;

    private List<DishFlavorEntity> flavors;
}
